home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / config / crosssite.def < prev    next >
Text File  |  1996-07-24  |  8KB  |  239 lines

  1. /* 'Sane' crosssite.def file.  To be used when copies are shipped out */
  2.  
  3. /* Use color pixmaps?  Note: you must have the XPM library installed
  4.  * in order for crossfire to compile if you have this set.  XPM is not
  5.  * included in the standard X11 distribution, but is available on
  6.  * most ftp sites that archive X11 programs.  The XPM library is
  7.  * typically called libXpm.a .  If you don't have the library, turn
  8.  * XPM code OFF, or you will not be able to compile the program.
  9.  *
  10.  * As of now (crossfire 0.90.1), only a few categories of pixmaps have
  11.  * been fully converted.  The advantage of X PixMaps is
  12.  * better looking graphics (on color systems), and bit masks, so that
  13.  * an object does not block all objects below it (all display systems)
  14.  *
  15.  * If you are running on a black and white system, the only likely loss
  16.  * is that of some speed (both the floor and the object are drawn).
  17.  *
  18.  * There are lots of pixmaps to convert.  It doesn't take much skill
  19.  * to convert them, just time (loading them up, coloring the appropriate
  20.  * areas, (or some areas to none), and saving them.)  If your interested
  21.  * in doing this, drop me some mail.
  22.  *
  23.  * Set XPM_LIBDIR to where ever the XPM library is stored on your 
  24.  * machine, if it is a place not normally searched by the compiler.
  25.  *
  26.  * Note: It is assumed that the header file is in the same place as your
  27.  * X11 header files.
  28.  *
  29.  * Version 3.2f or later of the XPM library is needed for Crossfire
  30.  * to compile with XPM support
  31.  *
  32.  * If during linking, it can not find XCreatePixmapFromBuffer, then your
  33.  * version of libXpm is not new enough.n
  34.  *
  35.  * If you have question, color pixmap code is by Mark Wedel
  36.  * (mwedel@pyramid.com)
  37.  */
  38.  
  39. /*
  40. #define XPM_PIX
  41. #define Xpm_LibDir /usr/local/lib/
  42. */
  43. /* If your include files are someplace odd */
  44. /*#define Xpm_Include    /usr/local/include*/
  45.  
  46.  
  47. /* This sets the location of the eutl library.  Same type of set up
  48.  * as XPM stuff above.
  49.  */
  50.  
  51. /* define Use_Eutl if you actually want to link with the eutl library.
  52.  * Eutl is only needed for the client/server code.  If you don't want
  53.  * to use the new code, you don't need this.
  54.  * Eutl is a separate package that you will need to get and install - it
  55.  * is not part of crossfire.
  56.  *
  57.  * Note - that the eutl library has at least some conflicts with Solaris
  58.  * 2.5 - I haven't bothered to play around at all with it to get it working
  59.  * right.
  60.  */
  61.  
  62. /*#define Use_Eutl*/
  63. #define Eutl_Libdir $(TOP)/eutl
  64. #define Eutl_Include $(TOP)/eutl/include
  65.  
  66. /* Automatically install after successfull compilation? */
  67. #undef AutoInstall
  68.  
  69. /*
  70.  * This is a top root directory of all game staff as in UNIX-style
  71.  * overall. 
  72.  */
  73. #define CTop /home/sleipner/a/crossfire/crossfire
  74. /* #define CTop /net/contrib/crossfire */
  75. /*#define CTop /usr/local/games/crossfire*/
  76.  
  77. /* Binaries location If this is undefined, it default to the
  78.    standard location for X binaries on your machine. */
  79. #define CBinDir Concat(CTop,/bin)
  80.  
  81. /* Libraries location If this is undefined it defaults to the
  82.   standard location for X lib files/crossfire on your machine */
  83. #define CLibDir Concat(CTop,/lib)
  84.  
  85. /* define and put a path here if you want it other than CLibDir/adm */
  86. #undef CAdmDir 
  87.  
  88. /* Font location. If this is undefined it defaults to the standard
  89.  * location for misc fonts on your machine
  90.  */
  91.  
  92. #define CFontDir Concat(CTop,/fonts)
  93.  
  94.  
  95. /* Crossfire manual location If this is undefined it defaults to the
  96.    standard location for manual pages on your machine.*/
  97. /* #define CManPath Concat(CTop,/man) */
  98. #define CManSuffix 6
  99.  
  100.  
  101. /* Force CC to use the specified options instead of the default
  102.  * This needs to be defined to the actual options (see commented
  103.  * out example.  If ForceCCOPTIONS is defined, it will not use
  104.  * any of the default compiler options for your machine.
  105.  */
  106. /*define ForceCCOPTIONS -O -g -Wall */
  107. #undef ForceCCOPTIONS
  108.  
  109. /* Extra_Flags are added onto the compilers default options.  Can be
  110.  * quite useful if you just want to add another flag or two, and not
  111.  * want to mess around with the crossfire.cf file, or have to re-do all
  112.  * the options withe ForceCCOPTIONS. 
  113.  */
  114. /* for use with gcc, it will use /usr/local/bin for the additional
  115.  * programs, like the linker and assembler.
  116.  * Removed -B/usr/local/bin - causes problems when link crossedit with
  117.  * gnu ld
  118.  */
  119. /*#define Extra_Flags -B/usr/local/bin/*/
  120.  
  121.  
  122. /* Force CC to be a specific compilator? Define this to be the
  123.  * actual compiler (see example).  If defined, the default
  124.  * compiler, and possible additional options, for your machine
  125.  * will not be used. */
  126.  
  127. /*
  128. #define ForceCC gcc
  129. */
  130.  
  131. /*
  132.  * define this if your sun has acc instead gcc and you plan to
  133.  * use acc to compile.
  134.  */
  135. #undef SunHasAcc
  136.  
  137. /* If you have a sun computer without the acc compiler, define this */
  138. /* This means SunOs 4.1.x systems using gcc (normal cc will not compile
  139.  * crossfire.)  It just provides some function prototypes, so if you
  140.  * have it undefined when you need it, all that is likely to happen
  141.  * is you get a lot of warning messages.
  142.  * Have no idea if this is needed with Solaris 2.0
  143.  */
  144.  
  145. /* Hopefully, the following two will work properly if the SunHasACC
  146.  * define/undef above is set correctly, so that the user does not
  147.  * need to set these manually.
  148.  * Note - if you have installed the GNU C library, then don't define
  149.  * this (comment it out).  Otherwise, you will get conflicts, which
  150.  * are real errors, and will cause the compile to fail.
  151.  */
  152. #if defined(SunArchitecture) && (OSMajorVersion != 5) && !defined(SunHasAcc)
  153. #define StupidSunHeaders
  154. #endif
  155.  
  156. /* Only Suns with acc seem to have problems with longjump */
  157. #ifdef SunHasAcc
  158. #undef NoLongJumps
  159. #endif
  160.  
  161.  
  162. /* Uncomment this if you want to use the rplay library. */
  163. /* Note, the sound files are not included as a standard part of Crossfire,
  164.  * but they are available on the ftp site.
  165.  * Default: Sound support off.
  166.  */
  167.  
  168. /*
  169. #define SoundEffects
  170. #define RPlayLibDir /usr/local/lib
  171. #define RPlayIncDir /usr/local/include
  172. */
  173.  
  174. /* define this if using OpenWindows as your enviroment. This only
  175.  * needs to be set if the openwindows server you use is
  176.  * xnews.  Do not use this if you are using Openwindows 3 or beyond.
  177.  * Basically, old openwindows (2) uses a different font format, which required
  178.  * different utilities to create the fonts.
  179.  *
  180.  * Since Openwindows 2.x is pretty much dead, this option should be removed
  181.  * in the future.  Maybe just add a directive like 'openwin-font' in the
  182.  * lib directory for those still unfortunate enough to be using it.
  183.  */
  184. /* is there any way at get at this through a define in the config?
  185.    I can't find any sites which actually have openwindows -- eanders@cmu.edu */
  186. #undef OWIN 
  187.  
  188. /* define this to the font type if it guesses wrong, and send mail to
  189.    the crossfire list saying what machine you're on, and what version of
  190.    X so we can make it guess correctly */
  191. #undef ForceFont
  192.  
  193. /* do we want to debug stuff ? */
  194. /*#define CDebug*/
  195.  
  196. /* Do we want to profile stuff ? */
  197. /*#define CProf*/
  198.  
  199. /* probably don't need to change things below here */
  200.  
  201. /*
  202.  * This isn't vital for building the game, you need it only if you want
  203.  * to type "make spoiler.dvi" in the doc-directory.
  204.  *
  205.  * gawk or mawk will work (these are both freely distributable
  206.  * implementations). Ultrix and SunOS awk and nawk will not work. 
  207.  * awk on most other systems will be OK.
  208.  */
  209.  
  210. AWK = gawk
  211.  
  212. /* Use debugged malloc?  I don't know if this exists on all machines/OS's,
  213.  * but it does exist on SunOs 4.1.1.
  214.  * Debug malloc has different levels (as set below.)  Level 0 makes it
  215.  * act like normal malloc (no extra error chacking done.)
  216.  * level 1 has the malloc and associated functions check the heap
  217.  * space, and if there are problems with it, it prints an error message.
  218.  * level 2 checks the entire heap for any malloc or related function
  219.  * (this is SLOW.)
  220.  * read the malloc man page for more information
  221.  */
  222.  
  223. /*
  224. #define DEBUG_MALLOC
  225. */
  226. /* DEBUG_DMALLOC tells it to use the dmalloc package.  This is a publically
  227.  * available package that can be installed on most any system.
  228.  */
  229. #define DEBUG_DMALLOC
  230. /*
  231. #define DEBUG_MALLOC_LEVEL    1
  232. */
  233.  
  234. /*
  235.  * That's it...
  236.  * Remember to have a look at "include/config.h" as well to see if there is
  237.  * something you might wish to change there before compiling.
  238.  */
  239.